|
|
 |
|
|
|
|
.rgbBlue = 255
Else
.rgbRed = 0
.rgbGreen = 0
.rgbBlue = 0
End If
End With |
|
|
|
|
|
|
|
|
Program BinCont3, shown in Figure 6.10, uses yet another strategy. It uses the following code to make a pixel white if its blue component is more than 5 greater than its green and red components. That makes blue areas on the image white and other areas black. |
|
|
|
 |
|
|
|
|
With pixels(X, Y)
If .rgbBlue > .rgbGreen + 5 And _
.rgbBlue > .rgbRed + 5 _
Then
.rgbRed = 0
.rgbGreen = 0
.rgbBlue = 0
Else
.rgbRed = 255
.rgbGreen = 255
.rgbBlue = 255
End If
End With |
|
|
|
|
|
|
|
|
Multiple Image Processing |
|
|
|
|
|
|
|
|
In multiple image processing, a program combines two or more images in some way. One common form of multiple image processing subtracts one image from another. The resulting picture shows where the two images differ. |
|
|
|
|
|
|
|
|
Figure 6.10
Program BinCont3 makes blue pixels white and other pixels black. |
|
|
|
|
|